AXIS#.SWLS.LIMIT#
Description
Sets the position value for a software limit switch, LIMIT0 or LIMIT1.
Examples
Usage
If only one limit switch is enabled, AXIS#.SWLS.EN = 1 or 2, then AXIS#.SWLS.LIMIT0 is the lower limit and AXIS#.SWLS.LIMIT1 is the upper limit.
If both limit switches are enabled, AXIS#.SWLS.EN = 3, then whichever switch is set to a larger value is the upper limit switch and the other switch is the lower limit switch.
Code
Axis 1 lower limit switch set to 1000 and upper limit switch set to 5000. Axis 1 home position is set and then both software limit switches are enabled.
-->AXIS1.SWLS.LIMIT0 1000 -->AXIS1.SWLS.LIMIT1 5000 -->AXIS1.HOME.SET -->AXIS1.SWLS.EN 3
Context
For more information on limit switches, refer to Limits.
Versions
Action | Version | Notes |
---|---|---|
Implemented | 02-00-00-000 |
General Information
Type | Read/Write |
Units | Position Units |
Range | -9,007,199,254,740,992.000 to 9,007,199,254,740,992.000 |
Default Value | AXIS#.SWLS.LIMIT0 = 0 |
AXIS#.SWLS.LIMIT1 = 5760 | |
Data Type | Float |
See Also | AXIS#.SWLS.STATE, AXIS#.SWLS.EN |
Stored in Non Volatile Memory | Yes |
Variants Supported
All variants are supported.
Fieldbus Information
Fieldbus![]() |
Parameter | Index | Sub-Index | Data Type | Float Scale | Units | Access | PDO Mappable |
---|---|---|---|---|---|---|---|---|
EtherCAT![]() |
AXIS1.SWLS.LIMIT0 | 0x500F | 0x3 | DINT | - | Position | RW | False |
AXIS1.SWLS.LIMIT1 | 0x500F | 0x4 | DINT | - | Position | RW | False | |
AXIS2.SWLS.LIMIT0 | 0x510F | 0x3 | DINT | - | Position | RW | False |